#include"client.hpp"

int main(int argc, char* argv[])
{
    if(argc != 3){
        std::cerr << "Usage: " << argv[0] << " server_ip server_port" << std::endl;
        return 1;
    }
    std::string ip  = argv[1];
    int port = atoi(argv[2]);

    udp_client *ucli = new udp_client(ip, port);
    ucli->initclient();

    ucli->start();


    return 0;
}
